/*
Copyright 2008-2010 Mark Logic Corporation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

html {
	overflow:hidden;
	/*overflow-y: hidden;
 	  overflow-x:hidden;
	*/
} 

ul, li, a, p, h2, h1, h3, h4, h5, div {
        margin:0;
        padding:0;
}

body {
	background-color:#DEE9F8;
	/*background-color:#d3e0f0;*/
	margin:0px;
	padding:0px;
	font-family:"Segoe UI"; calibri;
	font-size:11px;
	color:#073c82;
	overflow-x:hidden;
	
}

h3 {
	/*font-size:13px;*/
	font-size:11px;
	font-weight:normal;
	margin:0px;
	padding:0px;
	margin-bottom:5px; /*10px;*/ 
	margin-top:24px;
	border-bottom:solid 1px #a1c3f5;/*#B4CBEC;*/ 
	/* horizontal rule */
	padding-bottom:5px;  
}

.inspectorDetails {
	padding-left:30px;
	padding-right:30px;
}

a {
	text-decoration:none;
	color:#073c82;
}


#topnav {
	border-bottom:solid 1px #a1c3f5;
	height:48px;
        background-color:#d0def0; 
}
	
#topnav ul {
	list-style-type: none ;
	margin: 0px;
	padding: 0px ;
}
 
#topnav li {
	display: inline ;
	padding: 0px;
	margin:0px;
	float:left;
}

#topnav a {
	background-repeat: no-repeat;
	background-position:0px 0px;
	text-decoration:none;
	width:62px;
	height:48px;
	display:block;
}

#icon-word {	background-image:url(../images/icon-word.png);}
#icon-metadata{	background-image:url(../images/icon-metadata.png);}
#icon-search{	background-image:url(../images/icon-search.png);}
#icon-merge{	background-image:url(../images/icon-merge.png);}
	
#topnav a:hover {
	background-position:0px -48px;
}

/*#topnav a:active {
	background-position:0px -96px;
}*/

#topnav a.fronticon {
	background-position:0px -96px;
}

.red  {
	border:1px solid red;
}

#tabs {
	border-top:1px solid #d3e0f0;
	background-color:#B2D2FF;
	height:24px;
	border-bottom: 1px solid #7BA1DC; 
}

#tabs ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px ;
	padding-left:40px;
}

#tabs ul li {
	display:inline;
	background-image:url(../images/tab.png);
	background-repeat: no-repeat;
	background-position:0px 0px;
	float:left;
	height:24px;
	width:90px;
	/*width:100px;*/

}

#tabs ul li:hover {
background-position:0px -48px;

}

#tabs li a {
	/*color:#073c82;*/
	text-decoration:none;
	margin-left:5px;  
	/*padding-left:15px;*/
	padding-left:15px; 
	padding-right: 15px;
	margin-top:5px;
	float:left;
}

#tabs li.fronttab {
	background-position:0px -24px;
	border-bottom:1px solid #DEE9F8; 
}

#tabs li.fronttab:hover {
	background-position:0px -72px;
	border-bottom:1px solid #DEE9F8;
}

#buttonbar {
	margin-top:12px;
	height:22px;
	margin-bottom:20px;
}

#buttonbar ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px ;
	padding-left:60px; /*was 40*/
}

#buttonbar li {
	display:inline;
	background-image:url(../images/tab.png);
	background-repeat: no-repeat;
	background-position:0px 0px;
	float:left;
	
}

#buttonbar li a {
	float:left;
	height:22px;
	width:30px;
}
#buttonbar li a.first {
	width:31px;
}

#buttonbar li a.last {
	width:31px;
}

#icon-textctrl { background-image:url(../images/icon-textctrl.png); }
#icon-imgctrl { background-image:url(../images/icon-imgctrl.png); }
#icon-calctrl { background-image:url(../images/icon-calctrl.png); }
#icon-dropctrl { background-image:url(../images/icon-dropctrl.png); }
#icon-comboctrl { background-image:url(../images/icon-comboctrl.png); }

#buttonbar a:hover {
	background-position:0px -22px;
}

/*#buttonbar a:active {
	background-position:0px -44px;
}*/

#buttonbar a.selectedctrl {
        background-position:0px -44px;
}

ul.buttongroup {
	list-style-type: none;
	margin:0px;
	padding:0px;
	margin-bottom:30px;
}

ul.buttongroup li {
	float:left;
	position:relative; /*NEW*/
	display:inline;
	text-align:center;
	margin-top:0px;  /*diff*/
	margin-bottom:5px; /*diff*/
}

ul.buttongroup li a {
	float:left;
	position:relative; 
	width:104px;
	height:22px;
	background-image:url(../images/btn.png);
	background-position:0px 0px;
	background-repeat:no-repeat;
	margin-right:10px;
	margin-top:5px;
	line-height:20px;
}

ul.buttongroup li a:hover {
	background-position:0px -22px;
}

ul.buttongroup li a:active {
	background-position:0px -44px;
}

ul.buttongroup li a.lrgbtn {
	background-image:url(../images/lrgbtn.png);
	width:150px;
}

ul.buttongroup li a.lrgbtnword {
	background-image:url(../images/lrgbtn-word.png);
}

ul.buttongroup li a.lrgbtnchart {
	background-image:url(../images/lrgbtn-chart.png);
}

ul.buttongroup li a.lrgbtnimage {
	background-image:url(../images/lrgbtn-image.png);
}

		
#properties h3 {
	margin-top:10px;
}

#properties .textIcon{
	background:url(../images/icon-text.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}

#properties .imgIcon{
	background: url(../images/icon-img.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}
#properties .calIcon{
	background: url(../images/icon-cal.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}

#properties .dropIcon{
	background: url(../images/icon-drop.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}

#properties .comboIcon{
	background: url(../images/icon-combo.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}

.tooltip {
	float:left;
	max-width:200px;
	border:1px solid #5F5F5F;
	background-color:#D4E0F4;
	color:#393939;
	padding-top:10px;
	padding-bottom:10px;	
}

.tooltip h3 {
	margin-top:0px;
	font-size:10px;
	font-weight:bold;
	padding-left:5px;
	padding-right:5px;
}

.tooltip p {
	padding-left:20px;
	padding-right:15px;
}

#treeWindow {
	background:#fff;
	margin-left:0px;
	padding-top:5px;
	overflow:auto;
	height:200px;
	
}

#treeWindow h2 {
	margin:0px;
	padding:0px;
	background-image:url(../images/icon-document.png);
	background-repeat:no-repeat;
	font-size:14px;
	margin-bottom:5px;
}

#treeWindow h2 a {

	display:block;
	padding-left:30px;
		}

#treeWindow ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}

#treeWindow li {
	display:block;
	border-top:1px solid #ccc;
	margin: 0;
	padding: 0;
	
}

#treeWindow a {
        display:block;
	padding-left:10px;
	padding-top:4px;
	padding-bottom:4px;
}

#treeWindow li a:hover {
	background:url(../images/bg-li-a.png) repeat-x;
}

/*#treeWindow li a:active {
	background:url(../images/bg-li-a-selected.png) repeat-x;
}*/

#treeWindow a.selectedtreectrl {
	background:url(../images/bg-li-a-selected.png) repeat-x;
}


#treeWindow .textIcon{
	background: url(../images/icon-text.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}

#treeWindow .imgIcon{
	background: url(../images/icon-img.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}
#treeWindow .calIcon{
	background: url(../images/icon-cal.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}

#treeWindow .dropIcon{
	background: url(../images/icon-drop.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}

#treeWindow .comboIcon{
	background: url(../images/icon-combo.png) no-repeat left 50%; padding: 2px 0 2px 24px;
}

#metadataPanel {
	margin-top:20px;
	margin-left:10px;
}

/*for metadata panel */
input[type=text], textarea {
	width: 95%;
}
textarea {
	height: 6em;
}

/* Search CSS */
#searchhead {
	border-bottom:solid 1px #a1c3f5;  /* PUT BACK - NEW */
	padding-top:0px;
}

#searchform {
	padding-top:5px;
	padding-bottom:5px;
	margin-top:5px;
	margin-bottom:10px;
}

#searchbox {
	margin-left:13px;
	float:left;
	position:relative;
	margin-right:10px;
}

.searchbtn {
	float:left;
	position:relative;
	height:22px;
	width:47px;
	background-position:0px 0px;
	background-repeat:no-repeat;
	line-height:20px;
	background-image:url(../images/btn-search.png);
	text-align:center;
	margin-right:10px;
}

.searchbtn:hover{
	background-position:0px -22px;
}

.searchbtn:active{
	background-position:0px -44px;
}

.filterbtn {
	float:left;
	position:relative;
	height:22px;
	width:40px;
	background-position:0px 0px;
	background-repeat:no-repeat;
	line-height:20px;
	background-image:url(../images/btn.png);
	text-align:center;
}

.filterbtn:hover {
	background-position:0px -22px;
}

/*.filterbtn:active {
	background-position:0px -44px;
}*/

.fbtnactive {
        background-position:0px -44px;
}

.dropdownbtn {
	float:left;
	position:relative;
	height:22px;
	width:13px;
	background-position:0px 0px;
	background-repeat:no-repeat;
	background-image:url(../images/btn-dropdown.png);
	text-align:center;
	 
}

.dropdownbtn:hover{
	background-position:0px -22px;
}
	
/*.dropdownbtn:active{
	background-position:0px -44px;
}*/

.ddbtnactive{
	background-position:0px -44px;

}

#searchpagination {
	padding-top:10px;
	padding-bottom:10px;
	padding-left:10px;
}
	
.leftpagination{
	padding-left:10px;
	padding-right:5px;
}

.rightpagination{
	padding-left:5px;
	padding-right:5px;
}

#searchresults {
	overflow-y:auto;if ($('#fbtn').is('.fbtnopen'))
}

#searchfilter {
	background:white;
	border-top:solid 1px #a1c3f5; 
	border-bottom:solid 1px #a1c3f5; 
	margin-top:7px;
	padding-top:4px;
	padding-bottom:4px;
}

.searchreturnresult {
	border-bottom:1px solid #A7BACE;
	background-image:url(../images/bg-searchresult.png);
	background-repeat:repeat-x;
	padding-top:7px;
	padding-bottom:5px;
}


#searchresults h4 {
	color:#3A3A3A;
	font-family:Calibri;
	text-overflow: ellipsis;
	font-size:13px;
	padding-left:10px;
}

#searchresults .byline {
	padding-left:10px;
	font-size:10px;
	padding-bottom:.5em;
}

#searchresults .controltitle {
	padding-left:10px;
}

#searchresults .textIcon {
	background-image:url(../images/icon-text.png);
	background-repeat:no-repeat;
	padding-left:23px;
	font-size:13px;
	font-weight:bold;
	color:#3A3A3A;
}

#searchresults .pagenum{
	padding-left:10px;
	font-size:10px;
}

#searchresults .searchreturnsnippet {
	padding-left:10px;
	margin-bottom:10px;
}

.filterrow {
	padding-left:10px;
}

#searchresultactions {
	padding-left:10px;
	padding-bottom:5px;
}

.smallbtn {
	width:60px;
	height:18px;
	background-image:url(../images/smallbtn.png);
	background-position:0px 0px;
	background-repeat:no-repeat;
	margin-top:10px;
	line-height:20px;
	padding:3px;
	padding-left:15px;
	padding-right:20px;
	font-size:9px;
	}

 
.searchinsertbtn {
        background-image:url(../images/btn-insert.png);
}

.searchinsertbtn span {
	padding-left:10px;
}


 
.smallbtn:hover{
	background-position:0px -18px;
}

.smallbtn:active{
	background-position:0px -36px;
}

.openbtn {
	width:104px;
	height:22px;
	background-image:url(../images/btn.png);
	background-position:0px 0px;
	background-repeat:no-repeat;
	margin-right:10px;
	margin-top:5px;
	line-height:20px;
	padding:3px;
	font-size:9px;
}

#mergemenuarea {
	margin-top:15px;
	padding-bottom:15px;
	padding-left:15px;
	border-bottom:solid 1px #a1c3f5;
}

#select0 {
	background-image:url(../images/arrow-popup.png);
	background-repeat:no-repeat;
	background-position:right;
	background:white;
	border:1px solid #8FBAD7;
	}
#select0:hover {
	background-image:url(../images/arrow-popup-hover.png);
	background-repeat:no-repeat;
	background-position:right;
}

.mergereturnresult {
	border-bottom:1px solid #A7BACE;
	background-image:url(../images/bg-searchresult.png);
	background-repeat:repeat-x;
	padding-top:7px;
	padding-bottom:5px;
}
ul.menu {
        position:absolute;
        padding:0px; 
        margin:0px;
        margin-top:-5px;
        list-style-type:none;
        color:#E6F5FF;
        float:left;
        z-index:99;
        display:inline;
}

ul.menu ul {
        list-style-type:none;
        margin:0px;
        padding:0px;
        display:none;
}

ul.menu:hover ul {
        display:none;
}

ul.menu ul li {
	margin-left:16px;
}

a.menu {
        background-color:white;
        display:block;
        width:150px;
        padding-left:10px;
        text-decoration:none;
        color:#000000;
        border:1px solid #8FBAD7;
        margin-bottom:-1px;
        padding-bottom:4px;
        padding-top:4px;
}

a.menu:hover {
	background-image:url(../images/bg-li-a.png);
}

.mergereturnresult {
	border-bottom:1px solid #A7BACE;
	background-image:url(../images/bg-searchresult.png);
	background-repeat:repeat-x;
	padding-top:7px;
	padding-bottom:5px;
}

.mergereturnresult h4 {
	color:#3A3A3A;
	font-family:Calibri;
	text-overflow: ellipsis;
	font-size:13px;
	padding-left:20px; 
	background-image:url(../images/doc.png); 
	background-repeat:no-repeat; 
	margin-left:17px;
	line-height:19px;
}
.mergereturnresult p.byline {
	padding-left:40px;
	font-size:10px;
}

.mergeactions {
	margin-left:40px;
	margin-top:5px;
}

.mergebtn {
	padding-left:8px; 
	
	
}

#ML-Message {
	padding-left:5px;
	padding-right:5px;
	margin-left:5px;
	background-color: #FDF1B1;
}

#ML-Intro {
	margin: 1em;
	font-size: 110%;
	line-height: 1.45;
}
